﻿using Bot.Domain.Entities;
using Bot.Domain.Enum;
using Comm100.Framework.Domain.Specifications;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Specifications
{
    public class QuickReplyFilterSpecification : BaseSpecification<QuickReply>
    {
        public QuickReplyFilterSpecification(Guid botId)
            : base(i => i.BotId == botId && !i.IsDeleted)
        {

        }
        public QuickReplyFilterSpecification(Guid botId, EnumReplyType type)
            : base(i => i.BotId == botId && i.Type == type && !i.IsDeleted)
        {

        }
        public QuickReplyFilterSpecification(Guid botId, string name)
            : base(i => i.BotId == botId && i.Name == name && !i.IsDeleted)
        {

        }
    }
}
